<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button id="btn">新建窗口</button>
    <script>
        btn.addEventListener('click', () => {
            window.open('打开window弹出窗口.html', '', 'width=800,height=500')
        })
    </script>
</body>

</html>